import * as React from 'react';
import {observer} from 'mobx-react'
import styles from './index.scss';

import ScatterTime from '../../../home/ScatterTime'
import FirstStore from '../../../../store/firstStore'


interface IProps {
}


@observer
class Home extends React.Component<IProps> {

    constructor(props) {
        super(props);
    }


    public render() {
        const {dailyError} = FirstStore
        return (
            <div className={styles.right}>
                <div className={styles.title}>报错率</div>
                <div className={styles.EChart}>
                    <ScatterTime dataY1={[]} dataY2={[]} dataY3={dailyError} legend={['', '', '']} max={0} min={0} />
                </div>
            </div>
        );
    }
}

export default Home;
